package com.css.fxfzysx.modules.cztDataMange.service;

import com.css.fxfzysx.base.response.RestResponse;
import com.css.fxfzysx.modules.cztDataMange.vo.BasicLibraryVo;
import com.css.fxfzysx.modules.vabStructure.param.CustomVulnerabilityParam;
import com.css.fxfzysx.modules.vabStructure.param.MatchingParam;
import com.css.fxfzysx.modules.vabStructure.param.PageParam;
import com.css.fxfzysx.modules.vabStructure.vo.GenerateVulnerabilityMatrixVo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;
import java.util.List;

public interface BasicLibraryService {
    RestResponse queryBasicLibrary(CustomVulnerabilityParam param, HttpServletRequest request);

    RestResponse removeBasicLibrary(String dataType, String id,String province);

    RestResponse getMatrix(String dataType, String id,String province);

    void exportMatrix(HttpServletResponse response, String dataType, String id,String province);

    List<BasicLibraryVo> getByRegion(MatchingParam param);

    HashMap<String,Object> page(PageParam param);

    List<GenerateVulnerabilityMatrixVo> getByIdAndType(String dataType, String id,String province);
}
